﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Version2
{
    public partial class SeattlePDTweetView : UserControl
    {
        public DateTime CreatedAt;
        public String ConvertedAddress;

        public SeattlePDTweetView()
        {
            InitializeComponent();
        }

        public SeattlePDTweetView(string accountDisplayName, string accountUserName, string accountImageURL, string tweet)
        {
            InitializeComponent();

            this.AccountDisplayName.Text = accountDisplayName;
            this.AccountPicture.ImageLocation = accountImageURL;
            this.AccountUserName.Text = accountUserName;
            this.TweetText.Text = tweet;
        }

        private void SeattlePDTweetView_MouseEnter(object sender, EventArgs e)
        {
            this.Cursor = System.Windows.Forms.Cursors.Hand;
        }

        private void SeattlePDTweetView_MouseLeave(object sender, EventArgs e)
        {
            this.Cursor = System.Windows.Forms.Cursors.Default;
        }
    }
}
